package com.baizhi.mapper;

import com.baizhi.entity.Section;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SectionMapper {
    void insert(Section s);
    void deleteById(Integer id);
    void update(Section s);
    List<Section> selectAll();
    List<Section> selectpages(String search, Integer offset, Integer limit);
    void pageSection(@Param("offset")Integer offset,@Param("rows")Integer rows);
    public Integer countRows();
}
